package com.gmrz.uap.aspect;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author Wang Haifeng
 */
public class SecuredMethod {

    private static final Logger logger = LoggerFactory.getLogger(SecuredMethod.class);

    @Secured(isLocked = true)
    public void lockedMethod() {
        logger.info("lockedMethod");
    }

    @Secured(isLocked = false)
    public void unlockedMethod() {
        logger.info("unlockedMethod");
    }
}